package com.spaceobj.chess.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName("replay")
public class Replay {
    @TableId(type = IdType.AUTO)
    @TableField("game_id")
    private Integer gameId;

    @TableField("move_list")
    private String moveList;

    @TableField("result")
    private String result;

    public Integer getGameId() {
        return gameId;
    }

    public void setGameId(Integer gameId) {
        this.gameId = gameId;
    }

    public String getMoveList() {
        return moveList;
    }

    public void setMoveList(String moveList) {
        this.moveList = moveList;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }
} 